MailPoet\AutomaticEmails\AutomaticEmails S

Total Complexity 30
Dependencies 2
Dependents 6
Total lines 152
Lines of code 102
Logical lines of code 62
Comment lines 7
Methods 9
Properties 3

Methods 9

Method Rating Maintainability Complexity Lines of code
getAutomaticEmails()
S
54 6 21
init()
S
56 4 20
getAutomaticEmailBySlug()
S
65 5 8
getAutomaticEmailEventBySlug()
S
65 5 8
validateAutomaticEmailEventsDataFields()
S
60 3 13
validateAutomaticEmailDataFields()
S
62 3 12
unregisterAutomaticEmails()
S
63 2 10
__construct()
S
81 1 3
displayGroupWarning()
S
68 1 7